
#include "Entity.h"

class Weapon : public Entity
{
public:
	Weapon();
	~Weapon();

	virtual int GetType(void) const override { return ENT_WEAPON; }

	virtual void Update(float elapsedTime) override;
	virtual void Render(void) override;
	virtual void HandleCollision(const IEntity* pOther)	override;
	void Fire();
	void Reload();

private:
	int m_nDamage;
	float m_fRange;
	int m_nClipSize;
	int m_nCurrAmmo;
	float m_fReloadTime;
	float m_fCurrReloadTime;
	float m_fFireRate;
	int m_nCurrStage;
};
